package com.arrogames.blondbattle.game.combat 
{
	import ash.core.Entity;
	import com.arrogames.blondbattle.game.movement.Speed;
	/**
	 * ...
	 * @author Robin van den Bogaard
	 */
	public class Weapon {
		
		private var entity:Entity;
		
		public function Weapon(entity:Entity) {
			this.entity = entity;
		}
		
		public function get range():Range {
			return (entity.get(Range) as Range);
		}
		
		public function get reload():Reload {
			return (entity.get(Reload) as Reload);
		}
		
		public function get speed():Speed {
			return (entity.get(Speed) as Speed);
		}
		
		public function get damage():Damage {
			return (entity.get(Damage) as Damage);
		}
	}

}